home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
amos
/
amcafext.lha
/
AMCAF_Examples
/
TV.AMOS
/
TV.amosSourceCode
Wrap
AMOS Source Code
|
1995-07-14
|
1KB
|
28 lines
' ************************************* Commands used:
' * * Blitter Fill
' * Amcaf Examples * Turbo Draw
' * Blitter Fill V1.1 *
' * Written by Chris Hodges *
' * *
' *************************************
'
' Create a overscanned screen with 2 colours.
Screen Open 0,352,272,2,Lowres
Curs Off : Flash Off : Paper 0 : Pen 1 : Cls
' Put the screen to the right place.
Screen Display 0,112,32,352,272
' Set the palette to black & white.
Palette $444,$FFF
' Fill the screen with some random pattern.
For A=0 To((Screen Width/8)*Screen Height)-1 Step 2
Doke Logbase(0)+A,Rnd(65535)
Next
' Draw a vertical line, to ensure, that there are no jaggy edges..
Extension_8_1016 0,351 To 351,263,1
' Now simply call Blitter Fill all the time, creating a wonderful TV effect.
Repeat
Wait Vbl
Extension_8_1042 0,0
Until Inkey$=Chr$(27) or Mouse Key<>0
Screen Close 0
End